package cn.tedu.hospitalqd.mapper;

import cn.tedu.hospitalqd.pojo.entity.Intro;
import cn.tedu.hospitalqd.pojo.vo.IntroListItemVO;
import cn.tedu.hospitalqd.pojo.vo.IntroStandarVO;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

@Repository
public interface IntroMapper {

    int insert(Intro t);

    Intro select();

    int deleteById(Long i);

    int update(Intro t);

    int selectCount();

    int deleteByIds1(Integer[] ids);

    void deleteByIds2(Integer... ids);

    void deleteByIds3(ArrayList<Integer> ids);

    int dynamicUpdate(Intro t);

    IntroStandarVO getStandardById(Long id);

    List<IntroListItemVO> list();

    int countByITilteAndNotId(String name);
}
